<?php
// 	sleep(3);

Dispatch::connect('',							array('controller' => 'public', 'action' => 'productList', 'type' => 'swings'));
Dispatch::connect('productList/:type',			array('controller' => 'public', 'action' => 'productList', 'type' => 'swings'));
Dispatch::connect('productListJson/:type',		array('controller' => 'public', 'action' => 'productListJson', 'type' => 'swings'));
Dispatch::connect('productCompare/:list',		array('controller' => 'public', 'action' => 'productCompare'));
Dispatch::connect('login',						array('controller' => 'public', 'action' => 'login'));
Dispatch::connect('viewProduct/:id',			array('controller' => 'public', 'action' => 'viewProduct'));
Dispatch::connect('emptyCart',					array('controller' => 'public', 'action' => 'emptyCart'));
Dispatch::connect('removeFromCart/:id',			array('controller' => 'public', 'action' => 'removeFromCart'));
Dispatch::connect('showCart',					array('controller' => 'public', 'action' => 'showCart'));
Dispatch::connect('removeTransport/:id',		array('controller' => 'public', 'action' => 'removeTransport'));
Dispatch::connect('removeDiscount/:id',			array('controller' => 'public', 'action' => 'removeDiscount'));
Dispatch::connect('authenticate',				array('controller' => 'public', 'action' => 'authenticate'));
Dispatch::connect('savePerformaInvoice/:id',	array('controller' => 'public', 'action' => 'savePerformaInvoice'));
Dispatch::connect('doSavePerformaInvoice/:id',	array('controller' => 'public', 'action' => 'doSavePerformaInvoice'));
Dispatch::connect('updateDiscountAndTransport', array('controller' => 'public', 'action' => 'updateDiscountAndTransport')); //not sure if id present
Dispatch::connect('makeInvoice/:id',			array('controller' => 'public', 'action' => 'makeInvoice'));
Dispatch::connect('performaInvoice/:id',		array('controller' => 'public', 'action' => 'performaInvoice'));
Dispatch::connect('addToCart/:id',				array('controller' => 'public', 'action' => 'addToCart'));
Dispatch::connect('addMountingCart/:id',		array('controller' => 'public', 'action' => 'addMountingCart'));
Dispatch::connect('removeMountingCart/:id',		array('controller' => 'public', 'action' => 'removeMountingCart'));
Dispatch::connect('invoice/:id',				array('controller' => 'public', 'action' => 'invoice'));
Dispatch::connect('addComment/:id',				array('controller' => 'public', 'action' => 'addComment'));
Dispatch::connect('showImages/:id',				array('controller' => 'public', 'action' => 'showImages'));
Dispatch::connect('admin',						array('controller' => 'staff',	'action' => 'menu'));
Dispatch::connect('admin/:action/:id',			array('controller' => 'staff'));
Dispatch::connect(':controller/:action/:id');


?>